* {
  padding: 0;
  margin: 0;
  list-style: none;

}

a {
  text-decoration: none;
  outline: none;
  color: black;
}

body,
html {
  width: 100vw;
  height: 100%;
  color: #575757;
  position: relative;
}

header {
  width: 100%;
  color: #fff;
  background: linear-gradient(to right, #EE744F 0%, #F72C2C 100%);
}

header .header-top {
  padding: 15px 0;
  display: flex;
}

header .header-top span {
  margin: auto;
  font-size: 14px;
  font-weight: 600;
}

header .search {
  width: 80%;
  height: 34px;
  margin-left: 5%;
  display: flex;
  align-items: center;
  background: #F2F2F2;
  color: #595959;
  border-radius: 15px;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  -ms-border-radius: 15px;
  -o-border-radius: 15px;
}

header .search img {
  padding-left: 10px;
  width: 20px;
  height: 20px;
}

header .search input {
  outline:none;
  width: 80%;
  border: none;
  height: 25px;
  padding-left: 5px;
  background: #F2F2F2;
}

.header-nav {
  box-sizing: border-box;
  padding: 18px 20px 10px ;
  display: grid;
  grid-template-columns: 90% 10%;
  font-size: 12px;
}
.header-nav ul {
  width: 100%;
  display: flex;
  align-items: center;
  /*border: 1px solid black;
  */overflow-x: scroll;
  transition: scrollLeft 1s;
  -webkit-transition: scrollLeft 1s;
  -moz-transition: scrollLeft 1s;
  -ms-transition: scrollLeft 1s;
  -o-transition: scrollLeft 1s;
}
.header-nav ul li{
  width: 20%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header-nav ul::-webkit-scrollbar{
  width: 0;
}

.header-nav ul .target{
  font-size: 14px;
  font-weight: 600;
}
/* .header-nav ul .target::after {
  content: '';
  width: 40px;
  height: 3px;
  background-color: #fff;
  position: absolute;
  top: 22px;
  left: -50%;
  right: 0;
  margin: 0 auto;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
} */
.header-nav ul li span.bar{
  width: 80%;
  height: 0px;
  background-color: #fff;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}
.header-nav ul li.target span.bar{
  height: 3px;
}




.title_img img{
    width: 40px;
    height: 40px;
}
main {
  width: 100%;
  font-size: 12px;
  margin-bottom: 130px;
} 
main .van-pull-refresh__track{
  min-height: 60vh;
}
main ul.main_ul {
  width: 92%;
  margin: 0 auto;
}
main ul.main_ul>li {
  width: 100%;
  display: flex;
  align-items: center;
  margin: 15px 0;
  box-shadow: 1px 3px 2px #e7e7e7, -1px 0 2px #e7e7e7;
  box-sizing: border-box;
  padding: 12px 5px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}
main ul.main_ul>li .logo {
  width: 20%;
}
main ul.main_ul>li .logo img {
  width: 50px;
  height: 50px;
}


main ul.main_ul>li .cont {
  width: 80%;
  height: 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
main ul.main_ul>li .cont p {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
main ul.main_ul>li .cont .cont_name {
  color: #575757;
  font-weight: 600;
} 
.cont_name span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

main ul.main_ul>li .cont .cont_price {
  font-size: 10px;
  color: #ABABAB;
}
.cont_price span:nth-of-type(1) {
  color: #EE6E4C;
  font-size: 12px;
  font-weight: 600;
}
.cont_price span:nth-of-type(3) img {
  width: 12px;
  height: 10px;
}



/* 广告 */
.ad {
  position: fixed;
  bottom: 54px;
  left: 0;
  /* border: 1px solid black; */
  width: 100%;
  height: 75px;
  display: flex;
  align-items: center;
  box-shadow: -3px 0px 6px rgb(196, 191, 191);
  box-sizing: border-box;
  padding: 0 12px;
  background: #fff;
}
.ad>div{
  width: 20%;
  height: 50px;
}

.ad>div img {
  width: 50px;
  height: 50px;
}

.ad p {
  width: 62%;
  font-size: 12px;
  color: #383838;
  margin: 0;
}
.ad span {
  width: 18%;
  font-size: 14px;
  color: #383838;
  font-weight: 600;
}




/* 媒体查询 */
@media screen and (min-width: 500px) {
  body {
      margin: 100px auto 0;
      width: 375px;
      height: 700px;
      border: 1px solid grey;
      z-index: 999;
  }
  footer{
      position: absolute;
      bottom: 0;
      left: 0%;
      width: 373px;
      z-index: 999;
  }
}